import request from '@/utils/request'

export function saveItem(data) {
  return request({
    url: '/api/base/item/save',
    method: 'post',
    data
  })
}

export function updateItem(data) {
  return request({
    url: '/api/base/item/update',
    method: 'post',
    data
  })
}

export function deleteItem(data) {
  return request({
    url: '/api/base/item/delete',
    method: 'post',
    data
  })
}

export function pageItem(data) {
  return request({
    url: '/api/base/item/page',
    method: 'post',
    data
  })
}

